package patientAdministration;

import entity.Patient;
import java.sql.Timestamp;
import java.util.List;
import javax.ejb.Remote;

@Remote
public interface PatientSessionBeanRemote {

    Long addCase(Long pin, String date, String diagnosis, String doctor);

    long addNewPatient(String firstName, String lastName, String gender, Timestamp birthday, String identification, String citizenship, String insurance, String paymentType, String address, String phone, String email);

    void deletePatient(Long pin);

    void editPatient(Long pin, String firstName, String lastName, String gender, Timestamp birthday, String identification, String citizenship, String insurance, String paymentType, String address, String phone, String email);

    List<Patient> getAllPatients();

    Patient getPatientByPIN(Long pin);

    List<Patient> getPatients(String firstName, String lastName, String birthday, String identificationNumber);

    List<Patient> getPatientsByIdentification(String citizenship, String id);
    
    void deleteCase(Long id);
}
